# Generated from HelloSyntax.g4 by ANTLR 4.9.2
from antlr4 import *
from io import StringIO
import sys
if sys.version_info[1] > 5:
    from typing import TextIO
else:
    from typing.io import TextIO



def serializedATN():
    with StringIO() as buf:
        buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2#")
        buf.write("\u00d3\b\1\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4\7")
        buf.write("\t\7\4\b\t\b\4\t\t\t\4\n\t\n\4\13\t\13\4\f\t\f\4\r\t\r")
        buf.write("\4\16\t\16\4\17\t\17\4\20\t\20\4\21\t\21\4\22\t\22\4\23")
        buf.write("\t\23\4\24\t\24\4\25\t\25\4\26\t\26\4\27\t\27\4\30\t\30")
        buf.write("\4\31\t\31\4\32\t\32\4\33\t\33\4\34\t\34\4\35\t\35\4\36")
        buf.write("\t\36\4\37\t\37\4 \t \4!\t!\4\"\t\"\3\2\3\2\3\2\3\2\3")
        buf.write("\3\3\3\3\3\3\3\3\3\3\3\3\3\3\4\3\4\3\4\3\4\3\4\3\5\3\5")
        buf.write("\3\5\3\6\3\6\3\6\3\6\3\6\3\7\3\7\3\7\3\7\3\7\3\7\3\b\3")
        buf.write("\b\3\b\3\b\3\t\3\t\3\t\3\t\3\t\3\t\3\n\3\n\3\n\3\n\3\n")
        buf.write("\3\n\3\n\3\n\3\n\3\13\3\13\3\13\3\13\3\13\3\f\3\f\3\f")
        buf.write("\3\f\3\f\3\f\3\r\3\r\3\r\3\r\3\16\3\16\3\16\3\17\3\17")
        buf.write("\3\17\7\17\u008c\n\17\f\17\16\17\u008f\13\17\5\17\u0091")
        buf.write("\n\17\3\20\3\20\7\20\u0095\n\20\f\20\16\20\u0098\13\20")
        buf.write("\3\20\3\20\3\21\3\21\3\22\3\22\3\23\3\23\3\24\3\24\3\25")
        buf.write("\3\25\3\26\3\26\3\27\3\27\3\27\3\30\3\30\3\30\3\31\3\31")
        buf.write("\3\31\3\32\3\32\3\33\3\33\3\34\3\34\3\35\3\35\3\36\3\36")
        buf.write("\3\37\3\37\7\37\u00bd\n\37\f\37\16\37\u00c0\13\37\3 \3")
        buf.write(" \3!\6!\u00c5\n!\r!\16!\u00c6\3!\3!\3\"\3\"\5\"\u00cd")
        buf.write("\n\"\3\"\5\"\u00d0\n\"\3\"\3\"\3\u0096\2#\3\3\5\4\7\5")
        buf.write("\t\6\13\7\r\b\17\t\21\n\23\13\25\f\27\r\31\16\33\17\35")
        buf.write("\20\37\21!\22#\23%\24\'\25)\26+\27-\30/\31\61\32\63\33")
        buf.write("\65\34\67\359\36;\37= ?!A\"C#\3\2\7\3\2\63;\3\2\62;\4")
        buf.write("\2C\\c|\6\2\62;C\\aac|\4\2\13\13\"\"\2\u00d9\2\3\3\2\2")
        buf.write("\2\2\5\3\2\2\2\2\7\3\2\2\2\2\t\3\2\2\2\2\13\3\2\2\2\2")
        buf.write("\r\3\2\2\2\2\17\3\2\2\2\2\21\3\2\2\2\2\23\3\2\2\2\2\25")
        buf.write("\3\2\2\2\2\27\3\2\2\2\2\31\3\2\2\2\2\33\3\2\2\2\2\35\3")
        buf.write("\2\2\2\2\37\3\2\2\2\2!\3\2\2\2\2#\3\2\2\2\2%\3\2\2\2\2")
        buf.write("\'\3\2\2\2\2)\3\2\2\2\2+\3\2\2\2\2-\3\2\2\2\2/\3\2\2\2")
        buf.write("\2\61\3\2\2\2\2\63\3\2\2\2\2\65\3\2\2\2\2\67\3\2\2\2\2")
        buf.write("9\3\2\2\2\2;\3\2\2\2\2=\3\2\2\2\2?\3\2\2\2\2A\3\2\2\2")
        buf.write("\2C\3\2\2\2\3E\3\2\2\2\5I\3\2\2\2\7P\3\2\2\2\tU\3\2\2")
        buf.write("\2\13X\3\2\2\2\r]\3\2\2\2\17c\3\2\2\2\21g\3\2\2\2\23m")
        buf.write("\3\2\2\2\25v\3\2\2\2\27{\3\2\2\2\31\u0081\3\2\2\2\33\u0085")
        buf.write("\3\2\2\2\35\u0090\3\2\2\2\37\u0092\3\2\2\2!\u009b\3\2")
        buf.write("\2\2#\u009d\3\2\2\2%\u009f\3\2\2\2\'\u00a1\3\2\2\2)\u00a3")
        buf.write("\3\2\2\2+\u00a5\3\2\2\2-\u00a7\3\2\2\2/\u00aa\3\2\2\2")
        buf.write("\61\u00ad\3\2\2\2\63\u00b0\3\2\2\2\65\u00b2\3\2\2\2\67")
        buf.write("\u00b4\3\2\2\29\u00b6\3\2\2\2;\u00b8\3\2\2\2=\u00ba\3")
        buf.write("\2\2\2?\u00c1\3\2\2\2A\u00c4\3\2\2\2C\u00cf\3\2\2\2EF")
        buf.write("\7k\2\2FG\7p\2\2GH\7v\2\2H\4\3\2\2\2IJ\7u\2\2JK\7v\2\2")
        buf.write("KL\7t\2\2LM\7k\2\2MN\7p\2\2NO\7i\2\2O\6\3\2\2\2PQ\7d\2")
        buf.write("\2QR\7q\2\2RS\7q\2\2ST\7n\2\2T\b\3\2\2\2UV\7k\2\2VW\7")
        buf.write("h\2\2W\n\3\2\2\2XY\7g\2\2YZ\7n\2\2Z[\7u\2\2[\\\7g\2\2")
        buf.write("\\\f\3\2\2\2]^\7y\2\2^_\7j\2\2_`\7k\2\2`a\7n\2\2ab\7g")
        buf.write("\2\2b\16\3\2\2\2cd\7h\2\2de\7q\2\2ef\7t\2\2f\20\3\2\2")
        buf.write("\2gh\7d\2\2hi\7t\2\2ij\7g\2\2jk\7c\2\2kl\7m\2\2l\22\3")
        buf.write("\2\2\2mn\7e\2\2no\7q\2\2op\7p\2\2pq\7v\2\2qr\7k\2\2rs")
        buf.write("\7p\2\2st\7w\2\2tu\7g\2\2u\24\3\2\2\2vw\7v\2\2wx\7t\2")
        buf.write("\2xy\7w\2\2yz\7g\2\2z\26\3\2\2\2{|\7h\2\2|}\7c\2\2}~\7")
        buf.write("n\2\2~\177\7u\2\2\177\u0080\7g\2\2\u0080\30\3\2\2\2\u0081")
        buf.write("\u0082\7c\2\2\u0082\u0083\7p\2\2\u0083\u0084\7f\2\2\u0084")
        buf.write("\32\3\2\2\2\u0085\u0086\7q\2\2\u0086\u0087\7t\2\2\u0087")
        buf.write("\34\3\2\2\2\u0088\u0091\7\62\2\2\u0089\u008d\t\2\2\2\u008a")
        buf.write("\u008c\t\3\2\2\u008b\u008a\3\2\2\2\u008c\u008f\3\2\2\2")
        buf.write("\u008d\u008b\3\2\2\2\u008d\u008e\3\2\2\2\u008e\u0091\3")
        buf.write("\2\2\2\u008f\u008d\3\2\2\2\u0090\u0088\3\2\2\2\u0090\u0089")
        buf.write("\3\2\2\2\u0091\36\3\2\2\2\u0092\u0096\7$\2\2\u0093\u0095")
        buf.write("\13\2\2\2\u0094\u0093\3\2\2\2\u0095\u0098\3\2\2\2\u0096")
        buf.write("\u0097\3\2\2\2\u0096\u0094\3\2\2\2\u0097\u0099\3\2\2\2")
        buf.write("\u0098\u0096\3\2\2\2\u0099\u009a\7$\2\2\u009a \3\2\2\2")
        buf.write("\u009b\u009c\7-\2\2\u009c\"\3\2\2\2\u009d\u009e\7/\2\2")
        buf.write("\u009e$\3\2\2\2\u009f\u00a0\7,\2\2\u00a0&\3\2\2\2\u00a1")
        buf.write("\u00a2\7\61\2\2\u00a2(\3\2\2\2\u00a3\u00a4\7@\2\2\u00a4")
        buf.write("*\3\2\2\2\u00a5\u00a6\7>\2\2\u00a6,\3\2\2\2\u00a7\u00a8")
        buf.write("\7?\2\2\u00a8\u00a9\7?\2\2\u00a9.\3\2\2\2\u00aa\u00ab")
        buf.write("\7@\2\2\u00ab\u00ac\7?\2\2\u00ac\60\3\2\2\2\u00ad\u00ae")
        buf.write("\7>\2\2\u00ae\u00af\7?\2\2\u00af\62\3\2\2\2\u00b0\u00b1")
        buf.write("\7=\2\2\u00b1\64\3\2\2\2\u00b2\u00b3\7*\2\2\u00b3\66\3")
        buf.write("\2\2\2\u00b4\u00b5\7+\2\2\u00b58\3\2\2\2\u00b6\u00b7\7")
        buf.write("}\2\2\u00b7:\3\2\2\2\u00b8\u00b9\7\177\2\2\u00b9<\3\2")
        buf.write("\2\2\u00ba\u00be\t\4\2\2\u00bb\u00bd\t\5\2\2\u00bc\u00bb")
        buf.write("\3\2\2\2\u00bd\u00c0\3\2\2\2\u00be\u00bc\3\2\2\2\u00be")
        buf.write("\u00bf\3\2\2\2\u00bf>\3\2\2\2\u00c0\u00be\3\2\2\2\u00c1")
        buf.write("\u00c2\7?\2\2\u00c2@\3\2\2\2\u00c3\u00c5\t\6\2\2\u00c4")
        buf.write("\u00c3\3\2\2\2\u00c5\u00c6\3\2\2\2\u00c6\u00c4\3\2\2\2")
        buf.write("\u00c6\u00c7\3\2\2\2\u00c7\u00c8\3\2\2\2\u00c8\u00c9\b")
        buf.write("!\2\2\u00c9B\3\2\2\2\u00ca\u00cc\7\17\2\2\u00cb\u00cd")
        buf.write("\7\f\2\2\u00cc\u00cb\3\2\2\2\u00cc\u00cd\3\2\2\2\u00cd")
        buf.write("\u00d0\3\2\2\2\u00ce\u00d0\7\f\2\2\u00cf\u00ca\3\2\2\2")
        buf.write("\u00cf\u00ce\3\2\2\2\u00d0\u00d1\3\2\2\2\u00d1\u00d2\b")
        buf.write("\"\2\2\u00d2D\3\2\2\2\n\2\u008d\u0090\u0096\u00be\u00c6")
        buf.write("\u00cc\u00cf\3\b\2\2")
        return buf.getvalue()


class HelloSyntaxLexer(Lexer):

    atn = ATNDeserializer().deserialize(serializedATN())

    decisionsToDFA = [ DFA(ds, i) for i, ds in enumerate(atn.decisionToState) ]

    Int = 1
    String = 2
    Bool = 3
    If = 4
    Else = 5
    While = 6
    For = 7
    Break = 8
    Continue = 9
    BTrue = 10
    BFalse = 11
    And = 12
    Or = 13
    IntLiteral = 14
    StringLiteral = 15
    Plus = 16
    Minus = 17
    Star = 18
    Slash = 19
    GT = 20
    LT = 21
    EQ = 22
    GE = 23
    LE = 24
    Semicolon = 25
    LPAREN = 26
    RPAREN = 27
    LBRACE = 28
    RBRACE = 29
    Identifier = 30
    Assignment = 31
    WhiteSpace = 32
    NewLine = 33

    channelNames = [ u"DEFAULT_TOKEN_CHANNEL", u"HIDDEN" ]

    modeNames = [ "DEFAULT_MODE" ]

    literalNames = [ "<INVALID>",
            "'int'", "'string'", "'bool'", "'if'", "'else'", "'while'", 
            "'for'", "'break'", "'continue'", "'true'", "'false'", "'and'", 
            "'or'", "'+'", "'-'", "'*'", "'/'", "'>'", "'<'", "'=='", "'>='", 
            "'<='", "';'", "'('", "')'", "'{'", "'}'", "'='" ]

    symbolicNames = [ "<INVALID>",
            "Int", "String", "Bool", "If", "Else", "While", "For", "Break", 
            "Continue", "BTrue", "BFalse", "And", "Or", "IntLiteral", "StringLiteral", 
            "Plus", "Minus", "Star", "Slash", "GT", "LT", "EQ", "GE", "LE", 
            "Semicolon", "LPAREN", "RPAREN", "LBRACE", "RBRACE", "Identifier", 
            "Assignment", "WhiteSpace", "NewLine" ]

    ruleNames = [ "Int", "String", "Bool", "If", "Else", "While", "For", 
                  "Break", "Continue", "BTrue", "BFalse", "And", "Or", "IntLiteral", 
                  "StringLiteral", "Plus", "Minus", "Star", "Slash", "GT", 
                  "LT", "EQ", "GE", "LE", "Semicolon", "LPAREN", "RPAREN", 
                  "LBRACE", "RBRACE", "Identifier", "Assignment", "WhiteSpace", 
                  "NewLine" ]

    grammarFileName = "HelloSyntax.g4"

    def __init__(self, input=None, output:TextIO = sys.stdout):
        super().__init__(input, output)
        self.checkVersion("4.9.2")
        self._interp = LexerATNSimulator(self, self.atn, self.decisionsToDFA, PredictionContextCache())
        self._actions = None
        self._predicates = None


